#include <iostream>
using namespace std;

void sum(long long n)
{
	cout<<n*(n+1)/2<<endl<<endl;
}

int main()
{
	long long n;
	while(cin>>n){
		sum(n);
	}
	return 0;
}
